<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="{$WEBROOT}css/style.css" rel="stylesheet" type="text/css" media="screen">
<title>{$title}</title>
</head>

<body>
<div id="page1">
<div id="wrapper1">
{include file="head.html"}
<div id="search">
	<form action="search.php" method="get">
	<input type="text" id="rss" name="wd">
	<input type="submit" id="submitRss" value="我搜">
	</form>
</div>
<div id="main">
	<div id="newPost">
		{foreach from=$newPost item=Post}
    	<div class="newposten">
			<h3><a href="/readOne/{$Post.Pid}">{$Post.Post_Title}</a></h3>
    		<small>{$Post.Post_Link}</small>
    		<p>{$Post.Post_Content|strip_tags|truncate:100:"...":false}</p>
   		</div>
    	{/foreach}
	</div>
	<div id="blogInfo">
		<ul>
    		{foreach from=$blogInfo item=info}
        	<li>
        		<a href="/readRSS/{$info.BID}" class="bloginfo">{$info.Blog_Title}</a><span class="unreadNUM">[{$info.Blog_LastBuildDate}]</span>
        	</li>
        	{/foreach}
    	</ul>
	</div>
</div>
<div id="nav">
{$pager}
</div>
{include file="foot.html"}
</div>
</div>
</body>
</html>
